{% extends "base.html" %}

{% block BaseHead %}
    <script
        type="text/javascript" 
        src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAB1HE6c8mtUP2cfxsSezyExTLg_i57PFZfojJFM1YCHtnknrpaxQ3Npzhv2-Mx3iB7iHQIuBmtt7Wiw" >
    </script>
    <script  type="text/javascript">
        GW.PageOnload = function() {
            if (GBrowserIsCompatible()) {
                var map = new GMap2(document.getElementById("idMap"));
                map.addMapType(G_PHYSICAL_MAP);
                map.setCenter(new GLatLng(37.0, -85.0), 5, G_PHYSICAL_MAP);
                map.addControl(new GLargeMapControl());
                map.addControl(new GMapTypeControl());
                map.addControl(new GScaleControl());
                map.addControl(new GOverviewMapControl ());
                map.enableGoogleBar();
            } else {
                alert('Browser not compatable with Google maps!')
            };
        };
        GW.PageOnUnload = function(){ GUnload();};
    </script>
{% endblock %}

{% block BaseBrowserTitle %}
Wiki Map
{% endblock %}

{% block BasePageTitle %}
Wiki Map
{% endblock %}

{% block BaseBody %}
    <div id="idMap" style="width:100%; height:700px;"></div>
{% endblock %}

